import request from '@/utils/request'

export function postList(data) {
    return request({
      url: "/testCollection/detail/case",
      method: 'post',
      data
    })
}

export function deletelistPost(data) {
    return request({
      url: "/testCollection/detail/deleteCase",
      method: 'post',
      data
    })
}


export function sortPost(data) {
    return request({
      url: "/testCollection/sort",
      method: 'post',
      data
    })
}

export function findAllCasePost(data) {
    return request({
      url: "/case/list",
      method: 'post',
      data
    })
}


export function addPost(data) {
    return request({
      url: "/testCollection/detail/add",
      method: 'post',
      data
    })
}